package org.fun.jfinal.interceptor;

import org.fun.jfinal.config.Config;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

public class CommonInterceptor implements Interceptor {

	@Override
	public void intercept(Invocation inv) {
		inv.getController().setAttr("basePath", Config.getCon("base_path"));
		
		inv.invoke();
	}

}
